import http from '@/utils/http'

//查询单位列表
export function findUnitList(data) {
    return http.post('/api/unit/findList', data)
}

//新增
export function add(data) {
    return http.post('/api/unit/add', data)
}

//修改
export function edit(data) {
    return http.post('/api/unit/edit', data)
}


//删除
export function deleteIngredient(data) {
    return http.post(`/api/unit/delete/${data}`)
}
